#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<Windows.h>
#include<math.h>


int main()
{


	//printf("%.1f\n", INT(2.3));
	//const char* format = "%.1f \t%.1f \t%.1f \t%.1f \t%.1f\n";
	//printf("value\tround\tfloor\tceil\ttrunc\n"); 
	//printf("-----\t-----\t-----\t----\t-----\n");
	//printf(format, 2.3, round(2.3), floor(2.3), ceil(2.3), trunc(2.3));
	//printf(format, 3.8, round(3.8), floor(3.8), ceil(3.8), trunc(3.8)); 
	//printf(format, 5.5, round(5.5), floor(5.5), ceil(5.5), trunc(5.5)); 
	//printf(format, -2.3, round(-2.3), floor(-2.3), ceil(-2.3), trunc(-2.3));
	//printf(format, -3.8, round(-3.8), floor(-3.8), ceil(-3.8), trunc(-3.8));
	//printf(format, -5.5, round(-5.5), floor(-5.5), ceil(-5.5), trunc(-5.5));
	//printf("%.1f\n", trunc(-2.9));  //-2
	//printf("%.1f\n", trunc(2.9));   //2
	/*int i = 1;
	int j = (++i) + (++i) + (++i);
	printf("%d\n", j);*/


	//int a = 0x01;
	//int b = a++;
	//int c = 0x11;
	//c++;
	//int a = 10;
	//int b = a++;
	///*printf("%d\n", a++);*/
	//printf("%d %d\n", a, b);
	//printf("%d\n", ++a);
	/*char a[] = { "abcde" };
	printf("%d\n", sizeof(a)); 
	char a[]{ = "abcde"}; 
	printf("%d\n", sizeof(a));
	 char a[10]{ = "abcde"};
	printf("%d\n", sizeof(a))*/;
	// 
	//printf("%d\n", 0x01 << 2 + 3); 
	//printf("%d\n", 0x01 << (2 + 3));
	//printf("%d\n", (0x01 << 2) + 3);
	system("pause");
	return 0;
}